package cn.edu.ujn.lishlab3.dao;

import java.util.List;

public interface CustomerMapper {
    int deleteByPrimaryKey(Integer custId);

    int insert(Customer row);

    int insertSelective(Customer row);

    Customer selectByPrimaryKey(Integer custId);

    int updateByPrimaryKeySelective(Customer row);

    int updateByPrimaryKey(Customer row);
    //客户列表
    public List<Customer> selectCustomerList(Customer customer);
    //客户数
    public Integer selectCustomerListCount(Customer customer);
    
    public int createCustomer(Customer customer);
    
    // 通过id查询客户
 	public Customer getCustomerById(Integer id);
 	// 更新客户信息
 	public int updateCustomer(Customer customer);
 	
    // 删除客户
 	int deleteCustomer (Integer id);

 	
}